#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"

void PrintArray(int* a,int n)
{
	for (int i = 0; i <= n; i++)
	{
		printf("%d ", a[i]);
	}
}

int main()
{
	int a[13] = { 9,1,2,3,6,3,5,7,4,5,6,34,24};
	//selectsort(a, 0, 7);
	//quicksort(a, 0, 12);
	//BubbleSort(a, 13);
	//int k=ThreeNum(a, 0, 3);
	//printf("%d ", k);
	HeapSort(a, sizeof(a)/sizeof(int));
	PrintArray(a, 12);
}